<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script type="text/javascript">
    var arr = [1, 2, 3, 4];
    // 数组反转后的效果：[4, 3, 2, 1]
    arr.reverse();
    console.log(arr);// 考虑一下是否改原数组


</script>

</html>
